package sixkey.annotation;

import sixkey.Enums.BusinessTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName:Log
 * Package:sixkey.annotation
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2023/7/13 - 1:41
 * @Version:v1.0
 */
@Target(ElementType.METHOD) //注解只能用于方法上
@Retention(RetentionPolicy.RUNTIME) //修饰注解的生命周期
public @interface Log {

    String value() default "";

    /**
     * 模块
     */
    String title() default "测试模块";

    /**
     * 功能
     */
    BusinessTypeEnum businessType() default BusinessTypeEnum.OTHER;
}
